home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / save.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.1 KB  |  34 lines

  1. .TH SAVE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. SAVE
  5.  
  6.  
  7.  
  8.  SAVE( StringType FileName, AnyType Object )
  9.  
  10. Saves the provided Object in the specified file name FileName.
  11. No extension type is needed (ignored if specified), and ".dat" is supplied
  12. by default. Object can be any object type, including list, in which
  13. structure is saved recursively. See also LOAD. If a display device is
  14. actively running at the time SAVE is invoked, its transformation matrix
  15. will be saved with the same name but with extension type of ".mat" instead
  16. of ".dat".
  17.  
  18. This command can also be used to save binary files. Ascii regular data
  19. files are usually loaded in much more time then binary files due the 
  20. the parsing required. Binary data files can be loaded directly like ascii
  21. files in IRIT, but must be inspected through IRIT tools such
  22. as dat2irit. A binary data file must have a ".bdt" (Binary DaTa) type in
  23. its name.
  24.  
  25. Under unix, files will be saved compressed if the given file name has
  26. a postfix of ".Z". The unix system's "compress" will be invoked via a pipe
  27. for that purpose.
  28.  
  29. Example:
  30.  
  31.  SAVE( "Obj1.bdt.Z", Obj1 );
  32.  
  33. Saves Obj1 in the file Obj1.bdt.Z as compressed binary file.
  34.